<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Administration - Login</title>
	<link rel="shortcut icon" type="image/x-icon" href="{$theme}img/favicon.ico" /> 
	<link href="{$theme}css/layout.css" rel="stylesheet" type="text/css" media="screen" />
	<script src="{$host}share/js/config.php" type="text/javascript"></script> 
	<script src="{$host}share/js/prototype.js" type="text/javascript"></script>
</head>
<body>
<div id="login_window" class="block">
	
	<div class="login_box">
	
	<h1>Administrations Login</h1>
	
	{if isset($smarty.get.status) and $smarty.get.status == "false"}
	
		<div class="false" style="margin:0px 10px 0px 10px; font-size:12px; padding:5px;">{$smarty.get.message|escape:'htmlall'}</div>
	
	{/if}
	
	<div>
	
		<form action="{$host}?controller=login&method=post_verify" method="post" id="tfoc">
		
		<input type="hidden" name="secure" value="false" />
		
		<label>E-Mail Adresse</label>
		
		<div class="login_field_box"><input type="text" class="text" value="{if isset($smarty.post.mail)}{$smarty.post.mail}{/if}" name="mail" /></div>
		
		<label>Passwort</label>
		
		<div class="login_field_box"><input type="password" class="text" name="pass" /></div>
		
		<div class="login_field_box"><input class="submit" type="submit" value="Login" style="width:100px;" /></div>
		
		</form>
		
	</div>
	
	</div><!-- EOF login_box -->
	
		{if $valid_browser eq false}
		<div class="browser_detection">
			<p>{$ua_err_msg}</p>
			<table>
				<tr>
					<td width="80"><a href="http://www.google.com/chrome" target="_blank"><img src="{$theme}img/ua_chrome.png" border="0" alt="Chrome" /></a></td>
					<td><strong><a href="http://www.google.com/chrome" target="_blank">Download Chrome</a></strong> (von Google)</td>
				</tr>
				<tr>
					<td><a href="http://www.getfirefox.com/" target="_blank"><img src="{$theme}img/ua_firefox.png" border="0" alt="Firefox" /></a></td>
					<td><a href="http://www.getfirefox.com/" target="_blank">Download Firefox</a> (von der Mozilla Foundation)</td>
				</tr>
				<tr>
					<td><a href="http://www.apple.com/chde/safari/" target="_blank"><img src="{$theme}img/ua_safari.png" border="0" alt="Safari" /></a></td>
					<td><a href="http://www.apple.com/chde/safari/" target="_blank">Download Safari</a> (von Apple Inc.)</td>
				</tr>
				
			</table>
		</div>
	{/if}
	
	<div style="padding-top:5px; font-size:10px;">
		<p style="text-align:center;">Version: System {Yomm_Config::VAR_YOMM_VERSION}</p>
	</div>

</div>
<script type="text/javascript">
document.observe('dom:loaded',function(){
	$('tfoc').focusFirstElement();
});
</script>
</body>
</html>